package com.njcky.model.dto;

import com.alibaba.fastjson.annotation.JSONField;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author lcy
 * @title: SysInParamPo
 * @projectName BladeX-Biz
 * @description: TODO
 * @date 2023/11/16 14:55
 */
@Data
//@TableName("njssmx_sjgl.sys_result_tem")
public class SysInParamPo {

	private Integer id;

	private String value;

	private Integer parentId;

	private String url;

	@JsonIgnore
	private String note;

	private Integer sort;

	private Integer isShow;

	private List<SysInParamPo> children;

	private String data;
	public void add(SysInParamPo node) {
		children.add(node);
	}

	private int count;

	private String parentData;

	@JSONField(serialize = false)
	@JsonIgnore
	private String key;

	private String shape;
	@ApiModelProperty(value = "缓冲范围")

	private BigDecimal bufferRange;

	private Integer depth;
	@ApiModelProperty(value = "子集")

	private List<SysInParamPo> list;

	private String shapeText;

	private String parentName;
	@ApiModelProperty(value = "长度")

	private BigDecimal sumLength;

	private String roleId;

	@ApiModelProperty(value = "权限集合")
	private List<PipRoleDto> roleList;

	private String result;

}
